const app = require('express')();

// app.get('/', (req, resp) => {
//     resp.send('Hello Express!');
// }).listen('3000', ()=>{
//     console.log('running....');
// });

//-----------------

let server = app.get('/', (req, resp) => {
    resp.send('ok');
});

server.listen(3000, ()=> {
    // console.log(server.request);
    console.log('running...');
});
